package com.suxiaoxiao.springbootlearn.designpattern.adapterpattern.objectadapter.ducks;

/**
 * 绿头鸭
 * @author 、
 */
public class MallardDuck implements Duck {

    @Override
    public void quack() {
        System.out.println("Quack");
    }

    @Override
    public void fly() {
        System.out.println("I'm Flying");
    }

}
